
<form action="{% url 'polls:form_show' %}" method="post">
    {% csrf_token %}
    <ul>
    {% for field in form %}
    <li>
        {{ field.label_tag }} {{ field }} {{ field.errors }}
        {% if field.help_text %}
        {{ field.help_text }}
        {% endif %}
    </li>
    {% endfor %}
    </ul>
    <input type="submit" value="提交" />
</form>
